package com.ruoyi.system.api.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 服务通知的子服务与报告关联对象 st_report_info
 * 
 * @author ruoyi
 * @date 2020-03-03
 */
public class ReportInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 服务通知号 */
    @Excel(name = "服务通知号")
    private String serviceNo;

    /** 工程师ID */
    @Excel(name = "工程师ID")
    private Long enginnerId;

    /** 子表主键(st_plan_details表主键) */
    @Excel(name = "子表主键(st_plan_details表主键)")
    private Long planId;

    /** 报告类型（1=服务报告，2=Error Report，3=Hot Account Reprot，4=验收报告，5=安装质量报告，6=电话解决报告） */
    @Excel(name = "报告类型", readConverterExp = "1==服务报告，2=Error,R=eport，3=Hot,A=ccount,R=eprot，4=验收报告，5=安装质量报告，6=电话解决报告")
    private Long relServiceNo;

    /** 报告表名 */
    @Excel(name = "报告表名")
    private String relPlanId;

    /** 主键值 */
    @Excel(name = "主键值")
    private Long batchType;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 服务通知主键（st_service_notice表） */
    @Excel(name = "服务通知主键", readConverterExp = "s=t_service_notice表")
    private Long noticeId;

    /** fse姓名 */
    private String fseName;

    /** 是否同步到CC，0未同步、1已同步 */
    @Excel(name = "是否同步到CC，0未同步、1已同步")
    private String syncFlag;

    /** 同步到CC的时间 */
    @Excel(name = "同步到CC的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date syncTime;

    /** 报告编号 */
    private String reportNo;

    /** 服务结果 */
    private String serviceResult;

    @ApiModelProperty(value = "仪器型号",name="instrumentNo",required = false,dataType="String",example="仪器型号")
    private String instrumentNo;

    @ApiModelProperty(value = "客户姓名",name="customerName",required = false,dataType="String",example="客户姓名")
    private String customerName;

    private Object reportInfo;

    private String startTime;
    private String endTime;
    private String instrumentId;
    @Excel(name = "接待人")
    private String receiver;

    /** 接待人手机 */
    @Excel(name = "接待人手机")
    private String receiverMobile;

    /** 接待人电话 */
    @Excel(name = "接待人手机")
    private String receiverPhone;

    /** 接待人邮箱 */
    @Excel(name = "接待人邮箱")
    private String receiverEmail;

    private String status;
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setServiceNo(String serviceNo) 
    {
        this.serviceNo = serviceNo;
    }

    public String getServiceNo() 
    {
        return serviceNo;
    }
    public void setEnginnerId(Long enginnerId) 
    {
        this.enginnerId = enginnerId;
    }

    public Long getEnginnerId() 
    {
        return enginnerId;
    }
    public void setPlanId(Long planId) 
    {
        this.planId = planId;
    }

    public Long getPlanId() 
    {
        return planId;
    }
    public void setRelServiceNo(Long relServiceNo) 
    {
        this.relServiceNo = relServiceNo;
    }

    public Long getRelServiceNo() 
    {
        return relServiceNo;
    }
    public void setRelPlanId(String relPlanId) 
    {
        this.relPlanId = relPlanId;
    }

    public String getRelPlanId() 
    {
        return relPlanId;
    }
    public void setBatchType(Long batchType) 
    {
        this.batchType = batchType;
    }

    public Long getBatchType() 
    {
        return batchType;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setNoticeId(Long noticeId) 
    {
        this.noticeId = noticeId;
    }

    public Long getNoticeId() 
    {
        return noticeId;
    }

    public String getFseName() {
        return fseName;
    }

    public void setFseName(String fseName) {
        this.fseName = fseName;
    }

    public String getSyncFlag() {
        return syncFlag;
    }

    public void setSyncFlag(String syncFlag) {
        this.syncFlag = syncFlag;
    }

    public Date getSyncTime() {
        return syncTime;
    }

    public void setSyncTime(Date syncTime) {
        this.syncTime = syncTime;
    }

    public String getReportNo() {
        return reportNo;
    }

    public void setReportNo(String reportNo) {
        this.reportNo = reportNo;
    }

    public String getServiceResult() {
        return serviceResult;
    }

    public void setServiceResult(String serviceResult) {
        this.serviceResult = serviceResult;
    }

    public String getInstrumentNo() {
        return instrumentNo;
    }

    public void setInstrumentNo(String instrumentNo) {
        this.instrumentNo = instrumentNo;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Object getReportInfo() {
        return reportInfo;
    }

    public void setReportInfo(Object reportInfo) {
        this.reportInfo = reportInfo;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getInstrumentId() {
        return instrumentId;
    }

    public void setInstrumentId(String instrumentId) {
        this.instrumentId = instrumentId;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getReceiverMobile() {
        return receiverMobile;
    }

    public void setReceiverMobile(String receiverMobile) {
        this.receiverMobile = receiverMobile;
    }

    public String getReceiverPhone() {
        return receiverPhone;
    }

    public void setReceiverPhone(String receiverPhone) {
        this.receiverPhone = receiverPhone;
    }

    public String getReceiverEmail() {
        return receiverEmail;
    }

    public void setReceiverEmail(String receiverEmail) {
        this.receiverEmail = receiverEmail;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "ReportInfo{" +
                "id=" + id +
                ", serviceNo='" + serviceNo + '\'' +
                ", enginnerId=" + enginnerId +
                ", planId=" + planId +
                ", relServiceNo=" + relServiceNo +
                ", relPlanId='" + relPlanId + '\'' +
                ", batchType=" + batchType +
                ", delFlag='" + delFlag + '\'' +
                ", noticeId=" + noticeId +
                ", fseName='" + fseName + '\'' +
                ", syncFlag='" + syncFlag + '\'' +
                ", syncTime=" + syncTime +
                ", reportNo='" + reportNo + '\'' +
                ", serviceResult='" + serviceResult + '\'' +
                ", instrumentNo='" + instrumentNo + '\'' +
                ", customerName='" + customerName + '\'' +
                ", reportInfo=" + reportInfo +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", instrumentId='" + instrumentId + '\'' +
                ", receiver='" + receiver + '\'' +
                ", receiverMobile='" + receiverMobile + '\'' +
                ", receiverPhone='" + receiverPhone + '\'' +
                ", receiverEmail='" + receiverEmail + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
